<!--
 * @Author: your name
 * @Date: 2021-03-17 23:40:35
 * @LastEditTime: 2021-04-02 00:25:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \guzheng\src\views\pages\intro-pictures.vue
-->
<template>
           <div class="content">
            <div class="title">
             <h1>古筝美图欣赏</h1>
              <div class="demo-image__placeholder">
              <div class="block">
                <span class="demonstration">默认</span>
                  <el-image :src="src"></el-image>
              </div>
              <div class="block">
                <span class="demonstration">自定义</span>
              <el-image :src="src">
                <div slot="placeholder" class="image-slot">
                加载中<span class="dot">...</span>
              </div>
              </el-image>
             </div>
             </div>
             <div class="demo-image">
             <div class="block" v-for="fit in fits" :key="fit">
              <span class="demonstration">{{ fit }}</span>
               <el-image
                style="width: 100px; height: 100px"
                :src="url"
                :fit="fit"></el-image>
            </div>
            </div>
          </div>
  </div>
</template>

<script>
export default {
  name: "communication",
  data() {
    return {
      src:
        "https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg",
      src:
        "https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg",
    };
  },
  methods: {},
};
</script>

<style scoped>
.main {
  height: 100vh;
}
.el-container {
  height: 100%;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-aside {
  background-color: #545c64;
  color: #333;
  text-align: center;
}
.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}
.el-backtop {
  position: fixed;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #409eff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 6px rgb(0 0 0 / 12%);
  cursor: pointer;
  z-index: 5;
}

::v-deep .el-submenu__title,
.el-menu-item {
  text-align: left;
}
</style>